﻿@{
    ViewBag.Title = "编辑部门信息";
    Layout = "~/Areas/Admin/Views/Shared/_LayoutCMS.cshtml";
}
@section htmlhead{
    <link href="~/Content/assets/css/Layout/css/main.css" rel="stylesheet" />
    <link href="~/Content/assets/css/plugin/validator.css" rel="stylesheet" />
    }
@model LY.Entity.S_Dept
 <div class="container">

     <div id="forms" class="mt10">
        <div class="box">
          <div class="box_border">
            <div class="box_top"><b class="pl15">编辑部门信息</b></div>
            <div class="box_center">
              <form  id="frmEdit" method="post" action="@Url.Action("DeptSave")" role="form" class="jqtransform">
                  <input id="hideId" name="ID" value="@Model.ID" type="hidden" />
                  <table class="form_table pt15 pb15" style="width: 100%;" border="0">
                      @*<tr>
                          <td class="td_right">部门编号：</td>
                          <td class="">
                              <input type="text" id="ProjectNo" name="ProjectNo" value="@Model.Code" readonly="true" class="input-text lh30" size="40">
                          </td>

                      </tr>*@
                      <tr>
                          <td class="td_right">部门名称：</td>
                          <td class="">
                              <input type="text" id="Name" name="Name" value="@Model.Name" class="input-text lh30" size="40">
                          </td>
                      </tr>
                      <tr>
                          <td class="td_right">上级部门：</td>
                          <td class="">
                              @Html.ResourceDropDownList("DepartMent", "DepartMentTree", @Model.ParentID, new { @class = "wh80 select" })
                          </td>
                      </tr>
                      <tr>
                          <td class="td_right">排序：</td>
                          <td class="">
                              <input type="text" id="Sequence" name="Sequence" value="@Model.Sequence" class="input-text lh30" size="40">
                          </td>
                      </tr>
                      <tr>
                          <td class="td_right">编号：</td>
                          <td class="">
                              <input type="text" id="Code" name="Code" value="@Model.Code" class="input-text lh30" size="40">
                          </td>
                      </tr>
                      <tr>
                          <td class="td_center" colspan="5">
                              <input type="button" id="btnSave" name="button" style="margin-right: 50px;" class="btn btn82 btn_save2" value="保存">
                              <input type="button" id="btnReturn" name="button" class="btn btn82 btn_res" value="返回">
                          </td>
                      </tr>
                  </table>
               </form>
            </div>
          </div>
        </div>
     </div>
   </div> 
@section jssection{
    <script type="text/javascript"> 
    var util = {}; 
    var options = { 
  
    };

    </script>
    <script src="~/Content/assets/plugins/validator/validator.js"></script>
    <script src="~/Content/assets/DatePicker/WdatePicker.js"></script>
    <script src="~/Content/assets/app/dept/deptedit.js"></script>
}
